package com.spark.lola;

import com.spark.lola.support.mvc.configuration.BaseLolaApplication;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @Author: DengYeJun
 * @Date: 2019/1/4 0004 17:19
 */
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.spark.lola.feign")
@SpringBootApplication()
@EnableScheduling
public class RepairStatisticApplication extends BaseLolaApplication {
    public static void main(String[] args) {
        // 设置 外部配置文件路径
        setExtendConfigSetting("repair-statistic-api","huarong");
        SpringApplication springApplication = new SpringApplication();
        springApplication.setAddCommandLineProperties(false);
        SpringApplication.run(RepairStatisticApplication.class, args);
    }

}